﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptEditor.Commands
{
    class Command_AddBlog : Command
    {
        public string blogName
        {
            get
            {
                return Value1;
            }
            set
            {
                Value1 = value;
            }
        }
        public Command_AddBlog()
        {
            CommandType = COMMANDTYPE.AddBlog;
            blogName = "请输入博客名";
            Wait = true;
        }
        public Command_AddBlog(string BlogName)
        {
            CommandType = COMMANDTYPE.AddBlog;
            blogName = BlogName;
            Wait = true;
        }
        public override string ToString()
        {
            return CommandType.ToString()+":\n" + "添加博客" + ":" + blogName;
        }
    }
}
